//
//  CoverView.m
//  ZZLC
//
//  Created by 杨春至 on 2017/12/14.
//  Copyright © 2017年 ZhongZeng. All rights reserved.
//

#import "CoverView.h"



@implementation CoverView

- (instancetype)initWithHidenBlock:(HidenBlock)block{
    if ([super init]) {
        self.backgroundColor = [UIColor qmui_colorWithHexString:@"#090707"];
        self.alpha = 0.4;
        self.frame = CGRectMake(0, 0, KWidth, KHeight);
        [self bk_addEventHandler:^(id sender) {
            if (block) {
                block();
            }
        } forControlEvents:UIControlEventTouchUpInside];
    }
    return self;
}
@end
